<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>zuoye4</title>
	</head>
	<body>
		<script language=javascript>
        var s='www.cow.net';
       var n=(s.split('.')).length-1;
       document.write(n);
        </script>

	</body>
</html>
